<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<script>
    localStorage.setItem("name", "ithiema");

    alert(localStorage.getItem("name"))

    localStorage.removeItem("name");
</script>

<body>

</body>
</html>